## -*- mode: snippet -*-
# name : function-one-line
# key: df
# --
def $1($2)${3:$$(when (and yas-moving-away-p yas-modified-p) (concat " when " yas-text))}, do: $0